package com.ruoyi.building.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 楼盘信息列表对象 building_information
 * 
 * @author ruoyi
 * @date 2024-09-14
 */
public class BuildingInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 楼盘id */
    private Long id;

    /** 楼盘名称 */
    @Excel(name = "楼盘名称")
    private String buildingName;

    /** 楼盘别名 */
    @Excel(name = "楼盘别名")
    private String buildingAlias;

    /** 参考均价/元/平 */
    @Excel(name = "参考均价/元/平")
    private BigDecimal averagePrice;

    /** 考考总价/万/套 */
    @Excel(name = "考考总价/万/套")
    private BigDecimal totalPrice;

    /** 物业类型id */
    @Excel(name = "物业类型id")
    private Long propertyType;

    /** 装修标准 */
    @Excel(name = "装修标准")
    private Long isDecoration;

    /** 产权年限 */
    @Excel(name = "产权年限")
    private Long periodInt;

    /** 品牌id */
    @Excel(name = "品牌id")
    private Long brandId;

    /** 开发商名称 */
    @Excel(name = "开发商名称")
    private String developersName;

    /** 销售信息id */
    @Excel(name = "销售信息id")
    private Long saleId;

    /** 预售许可证id */
    @Excel(name = "预售许可证id")
    private Long licenceId;

    /** 所在区域 */
    @Excel(name = "所在区域")
    private String areaName;

    /** 楼盘地址 */
    @Excel(name = "楼盘地址")
    private String buildingAddress;

    /** 省 */
    @Excel(name = "省")
    private Long provinceId;

    /** 市 */
    @Excel(name = "市")
    private Long cityId;

    /** 县 */
    @Excel(name = "县")
    private Long countyId;

    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal lon;

    /** 纬度 */
    @Excel(name = "纬度")
    private BigDecimal lat;

    /** 开盘时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开盘时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date openTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBuildingName(String buildingName) 
    {
        this.buildingName = buildingName;
    }

    public String getBuildingName() 
    {
        return buildingName;
    }
    public void setBuildingAlias(String buildingAlias) 
    {
        this.buildingAlias = buildingAlias;
    }

    public String getBuildingAlias() 
    {
        return buildingAlias;
    }
    public void setAveragePrice(BigDecimal averagePrice) 
    {
        this.averagePrice = averagePrice;
    }

    public BigDecimal getAveragePrice() 
    {
        return averagePrice;
    }
    public void setTotalPrice(BigDecimal totalPrice) 
    {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getTotalPrice() 
    {
        return totalPrice;
    }
    public void setPropertyType(Long propertyType) 
    {
        this.propertyType = propertyType;
    }

    public Long getPropertyType() 
    {
        return propertyType;
    }
    public void setIsDecoration(Long isDecoration) 
    {
        this.isDecoration = isDecoration;
    }

    public Long getIsDecoration() 
    {
        return isDecoration;
    }
    public void setPeriodInt(Long periodInt) 
    {
        this.periodInt = periodInt;
    }

    public Long getPeriodInt() 
    {
        return periodInt;
    }
    public void setBrandId(Long brandId) 
    {
        this.brandId = brandId;
    }

    public Long getBrandId() 
    {
        return brandId;
    }
    public void setDevelopersName(String developersName) 
    {
        this.developersName = developersName;
    }

    public String getDevelopersName() 
    {
        return developersName;
    }
    public void setSaleId(Long saleId) 
    {
        this.saleId = saleId;
    }

    public Long getSaleId() 
    {
        return saleId;
    }
    public void setLicenceId(Long licenceId) 
    {
        this.licenceId = licenceId;
    }

    public Long getLicenceId() 
    {
        return licenceId;
    }
    public void setAreaName(String areaName) 
    {
        this.areaName = areaName;
    }

    public String getAreaName() 
    {
        return areaName;
    }
    public void setBuildingAddress(String buildingAddress) 
    {
        this.buildingAddress = buildingAddress;
    }

    public String getBuildingAddress() 
    {
        return buildingAddress;
    }
    public void setProvinceId(Long provinceId) 
    {
        this.provinceId = provinceId;
    }

    public Long getProvinceId() 
    {
        return provinceId;
    }
    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }
    public void setCountyId(Long countyId) 
    {
        this.countyId = countyId;
    }

    public Long getCountyId() 
    {
        return countyId;
    }
    public void setLon(BigDecimal lon) 
    {
        this.lon = lon;
    }

    public BigDecimal getLon() 
    {
        return lon;
    }
    public void setLat(BigDecimal lat) 
    {
        this.lat = lat;
    }

    public BigDecimal getLat() 
    {
        return lat;
    }
    public void setOpenTime(Date openTime) 
    {
        this.openTime = openTime;
    }

    public Date getOpenTime() 
    {
        return openTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("buildingName", getBuildingName())
            .append("buildingAlias", getBuildingAlias())
            .append("averagePrice", getAveragePrice())
            .append("totalPrice", getTotalPrice())
            .append("propertyType", getPropertyType())
            .append("isDecoration", getIsDecoration())
            .append("periodInt", getPeriodInt())
            .append("brandId", getBrandId())
            .append("developersName", getDevelopersName())
            .append("saleId", getSaleId())
            .append("licenceId", getLicenceId())
            .append("areaName", getAreaName())
            .append("buildingAddress", getBuildingAddress())
            .append("provinceId", getProvinceId())
            .append("cityId", getCityId())
            .append("countyId", getCountyId())
            .append("lon", getLon())
            .append("lat", getLat())
            .append("openTime", getOpenTime())
            .toString();
    }
}
